<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>店铺广告添加页  - ${web.name}${web.additionalTitle!}</title>
<link href="${root}/u/css/global.css" type="text/css" rel="stylesheet" />
<link href="${root}/u/css/layout.css" type="text/css" rel="stylesheet" />
<link href="${root}/u/css/memeber.css" type="text/css" rel="stylesheet" />
<link href="${root}/u/css/buy.css" type="text/css" rel="stylesheet" />
<script src="${sysResRoot}/jquery.js" type="text/javascript"></script>
<script src="${base}/thirdparty/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
	$("#jvForm").validate();
});

</script>
</head>
<style>
.pl_line { width: 710px; font-size:12px;}
.pl_zone {color: #000000; display: block; float: left; line-height: 24px; overflow-x: hidden; overflow-y: hidden; word-wrap: break-word; border-bottom: #EAEAEA dotted 1px; padding: 10px; }
.pl {width: 710px;}
.pl_zone span {color: #999999;}
UL, LI {list-style-image: none; list-style-position: outside; list-style-type: none; margin:0; padding: 0;}
.pl_txt {color: #333333; line-height: 22px;}
</style>
<body>
[#include "../include/shop_top.html"/]
<div id="head">
	 [#include "../include/页头搜索栏.html"/]
     [#include "../include/页头导航栏.html"/]
</div>
<div class="w960 mt10">
[#include "../common/image_upload.html"/]
  [#include "店铺中心_导航.html"/]
  <div class="user_right">
       <div class="mc_content">
	    <div class="usercenter_position"><span>店铺广告</span>
	    <form class="ropt">
		 		 <input type="submit" value="返回列表" onclick="this.form.action='list.jspx?pageNo=${pageNo}';"/>
     	</form>    
          <div class="right_line">
             <form method="post" action="save.jspx" id="jvForm">
               <table width="100%" class="pn-ftable" cellpadding="2" cellspacing="1" border="0">
                <tr>
                  <td width="12%"><span class="pn-frequired">*</span>广告名称:</td>
                  <td colspan="1" width="38%" class="pn-fcontent">
                  <input type="text" maxlength="100" name="name" class="required" maxlength="100"/></td>
                  <td width="12%" class="pn-flabel pn-flabel-h"><span class="pn-frequired">*</span>版位名称:</td>
                  <td colspan="1" width="38%" class="pn-fcontent">
                     <select name="adspaceId"/>
                      [#list adspaceList as adspace]
                        <option value="${adspace.id}">${adspace.name!}</option>
                      [/#list]
                    </select>
                  </td></tr>
               <tr><td width="12%"><span class="pn-frequired">*</span>广告内容:</td>
                   <td colspan="3" width="88%" class="pn-fcontent">
                     <div id="attr_image">
	                      <p class="attr">图片地址: <input type="text" id="uploadImgPath1" name="attr_image_url" class="required" maxlength="255" style="width:300px;"/></p>
	                      <p class="attr">图片上传: <span id="ufc1"><input type="file" id="uploadFile1"/></span> <input type="button" value="上传" onclick="upload(1);"/><input type="hidden" id="mark1" value="false"/></p>
	                      <p class="attr">图片尺寸: <input type="text" name="attr_image_width" maxlength="50" style="width:70px;"/> * <input type="text" name="attr_image_height" maxlength="50" style="width:70px;"/> <span class="pn-fhelp">（宽×高）</span></p>
	                      <p class="attr">链接地址: <input type="text" name="attr_image_link" value="http://" maxlength="255" style="width:300px;"/></p>
	                      <p class="attr">链接提示: <input type="text" name="attr_image_title" maxlength="255" style="width:300px;"/></p>
	                      <p class="attr">链接目标: <label><input type="radio" value="_blank" checked="checked" name="attr_image_target"/>新窗口</label> <label><input type="radio" value="_self" name="attr_image_target"/>新窗口</label></p>
                    </div>
                    </td>
              </tr>
               <tr><td width="12%" class="pn-flabel pn-flabel-h">开始时间:</td>
                   <td colspan="1" width="38%" class="pn-fcontent">
                    <input type="text" name="startTime" class="Wdate" style="width:120px" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})"/></td>
                    <td width="12%" class="pn-flabel pn-flabel-h">结束时间:</td>
                    <td colspan="1" width="38%" class="pn-fcontent"><input type="text" name="endTime" class="Wdate" style="width:120px" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})"/></td>
               </tr>
              <tr><td width="12%" class="pn-flabel pn-flabel-h"><span class="pn-frequired">*</span>点击次数:</td>
              <td colspan="1" width="38%" class="pn-fcontent"><input type="text" value="0" name="clickCount" class="required digits" style="width:70px"/></td>
              <td width="12%" class="pn-flabel pn-flabel-h"><span class="pn-frequired">*</span>展示次数:</td>
              <td colspan="1" width="38%" class="pn-fcontent"><input type="text" value="0" name="displayCount" class="required digits" style="width:70px"/></td>
              </tr>
              <tr><td width="12%" class="pn-flabel pn-flabel-h"><span class="pn-frequired">*</span>权重:</td>
                  <td colspan="1" width="38%" class="pn-fcontent"><input type="text" value="1" name="weight" class="required digits" style="width:70px"/></td>
                  <td width="12%" class="pn-flabel pn-flabel-h"><span class="pn-frequired">*</span>启用:</td>
                  <td colspan="1" width="38%" class="pn-fcontent"><label><input type="radio" value="true" checked="checked" name="enabled"/>是</label> 
                   <label><input type="radio" value="false" name="enabled"/>否</label></td>
              </tr>
             <tr><td colspan="4" class="pn-fbutton">
                   <input type="submit" value="提交"/> &nbsp; <input type="reset" value="重置"/></td>
             </tr>
           </table>
         </form>
          </div>
       </div>
  </div>
</div>
</div>
 <div class="clear"></div>
[#include "../include/footer_information_bar.html"/]
</body>
</html>